<%if !(@last_pager == nil || @last_pager == 1) %>
<div id="pagingbar">
  <%=link_to h('<<'), { :page => @first_pager-1}, :class => 'window_next' if @has_pre_pager %>
	<% @first_pager.upto(@last_pager) do |i| %>
	<%=link_to i, {:page => i}, :class => "number_#{i%5 == 0?5:i%5}" %>
	<%end%>
	<%=link_to h('>>'), { :page => @last_pager + 1}, :class => 'window_next' if @has_next_pager %>
</div>
<%end%>